import http from './http'

const serverHost = '/api';

export function getApplyListData() {
    return http.post(serverHost + '/customer/applyList', {})
}

export function getApplyRecordById(id) {
    return http.get(serverHost + '/customer/applyRecord/'+id)
}

export function auditDeny(data) {
    return http.post(serverHost + '/auditor/deny', data);
}

export function submitApply(data) {
    return http.post(serverHost + '/customer/submitApply', data)
}

export function auditOk(data) {
    return http.post(serverHost + '/auditor/approve', data)
}

export function cancelApply(data) {
    return http.post(serverHost + '/customer/cancelApply', data);
}

export function remoteLogin(data) {
    return http.post(serverHost + '/login/login', data);
}

